Prog 2 array setup working