why is it sending an array