made health a function of level