added haeartbeat