checking for previous configuration