Original (very simple) version.