this line is hard to follow, can we split to multiple lines, load => reset => array_keys.