beholder
val map = mutableMapOf<String, Double>().apply { for ((first, second) in list) if (second != null) this[first] = second }