made bots functional.