Finish ikr function.
Rearrage project.