IF statement

trying to fix if statement by removing square brackets