Delete function started