Delete function is working.