restricted delete functionality