corrected the typeName