added peopledata function