FIXME $key is not defined (strict mode)