First working revision.