migration with try for robustness