creating properties and adding randomization