edit main.m file