Recognizing IF statement