Added comment for global agent variable