Making decisions in Kotlin