add index sample