handle top and bottom floors