add code_fragments and clean_ofms code