Shouldn't ddat and did a var instead of integer?