heading control added