I'm getting an `unexpected token` error for valid code. Please see below 