added array extensions