declarative event handlers; private vars