the issue is, you dim $ouStore as normal variable and then try to access it as if it was a array.