top and bottom done