add golfed version that goes top to bottom