add distinct to eliminate duplicate names