Curious, is there a common pattern we need to follow to avoid NREs in code like this?