modified kuhbot for asynchron function calls