Use the data type in Global Function