endict