write first things to document