Forgot to check if array was set