how would you rewrite that in kotlin?
e
how would you rewrite that in kotlin?