working with pandoc