handle recurring index, will need to make better query better...