define thread variable and structure of data to be passed to the threads