smarter handling of created objects