main from test7