add heartbeat
Merge branch 'master' into wj_dev