working on generating moves