game_function modified