modified utils.coffee