How Kotlin works