add constraints for time and mode
change visitor name