implementing new catorization method