Ensure uniqueness via set to remove possibility of inf recursion