added getRandomElementFrom, and fixed MultipleSignal