main program (file renamed)