Cannot clear hash as intended; back to the drawing board