keep current state - so we can switch to another branch