if-let -> when-let