Heartbeat when crossing the line