partially working.  Need to use order function to eliminate duplicates