added param for build boolean