trying to make array work

trying to make array work