added array and array count