setup for rebasing