heartbeat component implementation