Updated comments for logging