learning about inputs and outputs