add methods to classes