added comments to format converting code