don't shift and update before we actually prune it and use some better naming