Initial barely functional version.