set up output