begin doc