working on reading in using types with namespaces
duplicate now has the right myType
fixed errors associated with duplicate