how to use rebase