removing pygame-related code