make on and off event methodes chainable