define thread element and method