more work on move back and forth in migrep