code cleanup, temporarily store hash results