trying a bit kotlin magic