added headers for long documents