implement the skeleton of code to support transaction deletion