added scoped in models