Version 1 of merge with prototype.