array.compare added