constructors and pointers to classes added