groundwork for handling doc versions