use marker index instead of content in hashtable