<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _add_games_to_schedule(self, schedule):
 """ Add game information to list of games. Create a Game instance for the given game in the schedule and add it to the list of games the team has or will play during the season. Parameters schedule : PyQuery object A PyQuery object pertaining to a team's schedule table. year : string The requested year to pull stats from. """

        for item in schedule:
            if 'class="thead"' in str(item) or \
               'class="over_header thead"' in str(item):
                continue  # pragma: no cover
            game = Game(item)
            self._games.append(game)