formatting md3