switched search and layers from position.