Referencing outside of array