adding some health logic