Added unit smart direction