sample circuit generator randomization implemented