init with the prototype.