try to write the codde cleaner