checking for problems