use a separate array to convert