rewrite EUD