TODO: add hard timestamp for heartbeat