create interactive mode and benchmark mode for testing