add task 4 violation corrections