changes to pygame_new_attempt