got threads working :D