added array of pointers demo