apply heartBeat.