Added DispatcherTimer for randomizing