Added pellet retrieval.