added mvd functionality