better name for event handling method