added models and tables