Initially-working version.