finish the prototype