added messy delete function

make it pretty later