Added ability to delete records