The build function now actually calls the callback function