improved healthbar class