outlined kata solution