allow top and bottom operator