adding random functionality to all objects