implemented hashing, updated UI