to display the scorewe'll create scoreboard instance in alien_invasion pyalien_ invasion py --snip-from game_stats import gamestats from scoreboard import scoreboard --snip-def run_game()--snip-create an instance to store game statistics and create scoreboard stats gamestats(ai_settingsu sb scoreboard(ai_settingsscreenstats--snip-start the main loop for the game while true--snip- gf update_screen(ai_settingsscreenstatssbshipaliensbulletsplay_buttonrun_game(we import the new scoreboard class and make an instance called sb after creating the stats instance we then pass sb to update_screen(so the score can be drawn to the screen to display the scoremodify update_screen(like thisgame_ functions py def update_screen(ai_settingsscreenstatssbshipaliensbulletsplay_button)--snip-draw the score information sb show_score(draw the play button if the game is inactive if not stats game_activeplay_button draw_button(make the most recently drawn screen visible pygame display flip(we add sb to the list of parameters that define update_screen(and call show_score(just before the play button is drawn when you run alien invasion nowyou should see at the top right of the screen (for now we just want to make sure that the score appears in the right place before developing the scoring system further figure - shows the score as it appears before the game starts scoring