First of three part program on event handling