adding rebase to history