Revised redefining datatype to all sub items