moved creation of the bot to one method