Help understanding this inputs and outputs