refactor to be ablo to react to doc changes undating it's dependencies