Added direction based class and method