rebuilding RS317 from the ground up