Changed Signal to WaitCondition