some debug controls