moved debugging text around