added uniqueSimpleArray method