added array sending