add direction enum type