rest for checking for config