split docdoc into two different components