#2 index for tasks