Use threading macro