add method "add_format"