pointers to classes example added