added elasticsearch bits