add controller heart beat code