initial code added to classes