added imarith and clean