improved speed of constructor / destructor