moved local retrieval trigger to branch