Add thread demo