the array should have a comma after the last element