apply scope