Added another log message in Function2