first attempt at top/bottom