Key issue resolved, Delete function complete.