move get_latest_doug to util of c3d