first pass at conversion to md