moved set direction "outbound" to appropriate state