refactor in prep of init_game function