Reworking bot class