reconcile code and docs