added random number generation devices (tested)