Codes formatting