Control delete functionality implemented