use hash instead of struct