Add function to optimize the visitor name