Created an event listener and updated asm