move to_string to array