jw
private fun <T> List<T>.defaultIfEmpty(value: T): List<T> { return if (isNotEmpty()) this else listOf(value) }