add index for freestyle