removing documents working