finalizing the build