various extra logging