debugging retrievals