trying to figure out needed values for delta(h,q)