added events to behavior