revised the whole file