doc rewrite wip