having a hard time with the arrays