for mobile validation