built with both types of hashing functions, not working properly yet however.