clarified if statement