generated a model for comments