rebuild architecture