start of the heart  class