added log index
merged