edited select_build and add_build