added model class(please help fill in the blanks when free)