remove getting from build function