convert to array then display