add visitor at python