rename logger to log.  avoid common name to reduce chance of naming conflict