trying to make function multi-threaded