added array of pointers