simulate errors part1