add index on weight