add read and change index