added tag loop_index