Added some logging output to screen