use array_fill_keys instead of a manual loop