Inputs and outputs defined