added config & exception