added array assignment