added random-lib for secure numbers