more checking for problems.