Thread Synchronization working!