now accepts the scoped param