Added variable to set randomness source (secret)