add model and change index.html