use hash for DOW values instead of seperate variables