added md stuff