U5: avoid doing work multiple times