parametrize seed, drop use of salt