over his career in law enforcement hed faced countless situations where his actions werent exactly by the book , sometimes quite the opposite , when it came to dealing with the worst kinds of criminals .