Changed the configuration method