expand document