added del method to delete records