adding threading code