rebuild with scope