If statement generation is completely fucked