adding random number capabilities