some cleaning, analog random seed input