adding health functionality and adding more metric