First working draft of adding external events. #4