break things up in preparation to try this approach for the other functions