adding DiscretePattern, beginnings of Event