Renamed mkd function to md