build prototype for Market