add rebase practice sample code