custom build prepare