modified for the bot