The default direction in the original version of the class
The modified default direction in Listing 4