Testing the outputs. Still not fully working