Bucketing

Bug for sending loop status to index class fixed.