doc bounds