Replace cond with if because :else was tedious