beginnings of event system, will expand at a later date.