add verbose logging