doc manipulation.