added commas to end of arrays