Thread implementation in progress.