rework scoped define