Setting up the outputs