refactored re-seq-with-pos AGAIN