this is a mess at not setting up the config correctly