add variables to assign_game method. Still broken and needs to be fixed.