preliminary version of karmabot