improved the bot