finding errors