understand array_extract