Added WAIT_FOR_MOBILE logic