Second version of prototype.