Got delete working, but it's hacky