math on array vs array