try to add some logging