added array handler