Why is this not working I am getting something different in the output.Please help!!