modify ex1 file