add the global data for share memory