Triggers events when need