progress with mainfiles