salesfroce queue - renaming delete function to local function name