# Generating fictitious data

It is easy to use the different functions to generate data randomly. Using a tJava component, you can, for example, create a list of fictitious client data using functions such as getFirstName(), getLastName(), getUSCity():

```
System.out.println(TalendDataGenerator.getFirstName()); 
System.out.println(TalendDataGenerator.getLastName()); 
System.out.println(TalendDataGenerator.getUsCity()); 
System.out.println(TalendDataGenerator.getUsState());
System.out.println(TalendDataGenerator.getUsStateId());
System.out.println(TalendDataGenerator.getUsStreet());
```

The set of data taken randomly from the list of fictitious data is displayed in the Run view:

![The result is a list of strings made of a name, last name, city, state, state ID, and street in the Run view.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/Routines12.png)