Reformatting and cleaning