First working implementation. Prerelease.