switch from an if to a cond, there will be more conditions soon