add some logging to console