noticed that the settings are also called at other positions in the code.