applied a new format for a code