use hash instead