Added some bot logic