build 2 of main