added transaction delete method