changed logging as per #65