added floor to  #761