created initial main programm from test7