little refactoring, still conservative bot logic 2.0