Stable implementation. Working project.