working on framework and locking hash table