replaced deprecated scoped with all