Adding some logging to test hope it works