add model for tables