some unrelated additions to the library from past developments: BitCube + Hash