+ added some logging printouts