implemented unique array elements