improved health calculating