First step in changing how the views are handled in order to suppoert inner loops