would it make sense to use the config module here? (and adapt it where we need to)