Judiciary in democracy