sync code w/ docs