build up the prototype