passing result of the operation in after callbacks