Are these ifs necessary? What could possibly break?