Error checking for testing purposes...