moving initialization of data members from class declaration to constructors