Retiring detective recalls long career