location and heartbeat