edit index to change capital sample