adding unspent methods, modifying caching of transactions