adding heartbeats