Correct data now being output