creating data array