array based commit.