wrote struct and start of requester thread function