updated utils class [TJ,SG]