refactoring, add heartBeat feature.