added MD class and code