breaking array to separate fields