why is this a `config_hash` here but it's called with a `collection`? I'm having a hard time following this