DRY for bootstrap