finish v1 of GRebase