Completed basic delete implementation