Add function currentMxd