first attempt at thread/queue