program allows a key to be deleted