New sketch reflects changes made (i.e. rerouted latch reset to a different pin (16 to 26).