Error detection implemented