added an equal on an if statement