modify the main programm