re-implemented taxonomy hashing based on new interfaces