replace itoa with to_str