make newBundle implementation conformant to JavaDoc example