final touches on helper debug