some modifications for document