began eventhandler implementation