switched from movelist datastructure, using references between moves
switched from movelist datastructure, using references between moves