doTransact and doCall