improving heart rate logic to include DEATH :-O