add $bundle to constructor