checking mistakes