add random int method