model class finished