minor adding of member functions, and match new with delete