implemented verbose logging