adding string representation of heartbeats