added models for messages