finished main ex08