added a heartbeat API