Create visit function enabled