fixes #39 Added inTransaction block in compute function