commit
bugfix for random generator