rewrite of original dramabot