object tree cleanup and commented out the console outputs