Added syntax to prevent duplicate items from appearing in list.