transferring data between threads in a thread safe way now working