reformatting for smd