doc model works