merge and bundle