doc factory 2d