Added Logging with timestamps