added the launch event listener