setup input and output