heartbeat control