Laying the groundwork to implement the naive approach