starting to add some logging