made a change to the markdown function