if collisionsstats score +ai_settings alien_points sb prep_score(--snip-we update the definition of check_bullet_alien_collisions(to include the stats and sb parameters so it can update the score and the scoreboard when bullet hits an alienpygame returns collisions dictionary we check whether the dictionary existsand if it doesthe alien' value is added to the score we then call prep_score(to create new image for the updated score we need to modify update_bullets(to make sure the appropriate arguments are passed between functionsgame_ functions py def update_bullets(ai_settingsscreenstatssbshipaliensbullets)"""update position of bullets and get rid of old bullets ""--snip-check_bullet_alien_collisions(ai_settingsscreenstatssbshipaliensbulletsthe definition of update_bullets(needs the additional parameters stats and sb the call to check_bullet_alien_collisions(needs to include the stats and sb arguments as well we also need to modify the call to update_bullets(in the main while loopalien_ invasion py start the main loop for the game while truegf check_events(ai_settingsscreenstatsplay_buttonshipaliensbulletsif stats game_activeship update(gf update_bullets(ai_settingsscreenstatssbshipaliensbullets--snip-the call to update_bullets(needs the stats and sb arguments now when you play alien invasionyou should be able to rack up pointsmaking sure to score all hits as currently writtenour code could miss some aliens for exampleif two bullets collide with aliens during the same pass through the loop or if we make an extra wide bullet to hit multiple aliensthe player will receive points only for one of the aliens killed to fix thislet' refine the way that alien bullet collisions are detected scoring