read from index with buffer
read from index with buffer