added delete transaction method, fixed operation amount