switching back to if