some changes in templates and added a new model