added elasticsearch helper