Almost working prototype.