This fails for me locally because of this line, specific because you closed an array that you didn't open.