added custom build function registration