added some debug output
Agregados event setting