add distinct option to select