refactored parameter that indexedProperty needs
added example for book chapter 4 social network generation