Added `compute()` method