rebuilding how it works