-get deletion code working