move debug statement