created working array formatter