moved debugging var