slight attempt at multithreading