renamed view to match the event handling