added enums for direction