initialize documents