cond works with nil check