FIX: import mdp in try statement
STY: code formatter