renamed powerup function to collected