made bot mode optional