new models and modified the code of page