direction control added