generating nested properties