added heartbeat offset