Created sub to format 117