cleaning up unused code
adding timestamp to debug console output