added methods to handle interactive record deletion