sick coding makes for bad ifs