added heartbeat sound and logic