Refactoring function visits
Adding jaccard functions and list syntax