revise these two files