edittied main file