groundwork for unit tests