Debug
Debug
Debug
Debug
Repaired conditional