you can pass the boolean in the constructor and remove the configuration from here