changed transaction to operation