no more calls to log() ? Why then 3 separate error handling statements?