Added errback to build functions