Help understanding this code!

Thanks tom! :slight_smile: