split up the build to 3 steps