removed uniq! calls repalced with select( DISTINCT)