updated new style formatting for codes