Was receiving an error about undefined array. Had to switch from the block of code array to the single-line version. Tested and worked perfectly.