continu migraiton to kotlin