What if we use thread ?