adding ability to pick entries using the same logic as the agent