heartbeat, fixes #1