added modied model1.h