more logging to track down bug - 3 (fixed syntax error)