Think I found the syntax error - forgot to specify an array index