adding the ability to set a position and autodiscover at the same time