add deletion code

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>