Finished delete functionality