changed an if