added clevel argument to EDmarg