If statements for mobile