prevent officer misconduct