modified utils  file