adding readindex