adding continuous thread