how to do random int