Added Some Logging