implemented basic scheduling and dispatching of signals
removed some duplications