run tasks on each tick
library indexes