Why scope `diff` and `actual` out here?