added ability to delete records