Added verbose logging