diff frontend that operates on words