mobilecheck funtion