whip on index and lib