change to get_last_games function return