added scope to model