Heartbeat implemented