adding random text function