correct objects creation algorithm