Why did you make two threads for this?