build for spark complete