committing code I added but commented out... need to think more about event processing.