adding option to reset to specific rev