Delete Functionality working fine