shaved off some repeated code by changing a couple of parameters to be more generic and /or self naming in the deleting an entry process