add option to use hash tracking or not;