adding floor to the output