added compute method to operations interface