changing seed_inv