edited main file