considering both formats in conversion tool