May not be a good choice

Nothing in Listing 4 prevents the new direction

(I could have written code to eliminate this possibility, but I elected not to do so in the interest of simplicity.)