table now should be based on the model name