How to maintain a state of continuous beating in the heart?