First working version.