Defining Inputs and Outputs