using hash correctly;