Deleted code for logging