added validation for mobile