formated codes