most code for grid sequencing written, refactor for realplay loop sketched in sequencing plan