changed some decimal formatting for correct output