add console.log() on event