rows array is getting messy