getting closer but still screwing things up.... sigh
Makes further progress. Adds checkbox.