Used distinct instead of annotate