got a bit more deletion functionality working