Korasaju funtion implemented.