using the config properly