preliminary mobile detection