use RAM memory index