add get distinct values method