cleaned up direction handling
initial state work