Added the event to its block to maintain the connection between them