code with errors