Added sensor for threads