adds MDP implementation