adding eosTrim
reverting to original file