Got an error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?)