replaced rest of prototype.