pointers added to classes