add a main program