replaced scoped with all as scoped is deprecated