first part of IF statement