needs to work without a config file