added a Direction enumeration