work on UI; delete duplicates