commit retrieve_target method again. Replaced it before by accident