stripped label stuff from hashtable.cc