print heartbeat