add distinct command + test
Merge branch 'feature/distinct2'