Working version.