emitting events extracted into methods.