adding random numbers to events fix #16