added batch option to scoped collection