modified heartbeat