Model class coded