commit of arrays