added check against existing object defs