added base model class