define Input and Output