added powerup check