create model for message