Almost done now. I only need to fix the exception that occurs when it tries to delete.