added elastic search stuff