add direction class because it's general enough to merit it