Which layer of the heart contains the pacemaker