trying to find errors