add configuration method