adding config sate initialization